﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace BinarySplitter
{
    class BinarySplitterTest
    {
        static void Main(string[] args)
        {
            string text = "Pesho e nai-golemiqt programist5x.";
            byte[] textInBytes = Encoding.Unicode.GetBytes(text);
            BinarySplitter.CreateBinaryFile("pesho.bin", textInBytes);
            BinarySplitter.SplitBinaryFile("pesho.bin");
            BinarySplitter.UniteTwoFiles("firstPart_pesho.bin", "secondPart_pesho.bin", "peshoUnited.bin");
        }
    }
}
